{extend name="base" /} {block name="body"}
<div class="layui-body">
	<!--tab标签-->
	<div class="layui-tab layui-tab-brief">
		<ul class="layui-tab-title">
			<li class="">
				<a href="">会员积分记录</a>
			</li>
		</ul>
		<div class="layui-tab-content">
			<form class="layui-form layui-form-pane" action="" method="get">
				<div class="layui-inline">
					<label class="layui-form-label">帐号</label>
					<div class="layui-input-inline">
						<input type="text" name="mobile" value="{$mobile}" placeholder="请输入帐号" class="layui-input">
					</div>
				</div>
				<div class="layui-inline">
					<label class="layui-form-label">会员名</label>
					<div class="layui-input-inline">
						<input type="text" name="user_name" value="{$user_name}" placeholder="请输入会员名" class="layui-input">
					</div>
				</div>
				<div class="layui-input-inline">
					 <input type="text" name="start_time" value="{$start_time}" class="layui-input" id="test1" placeholder="开始时间">
				</div>
				<div class="layui-input-inline">
					<input type="text" name="end_time" value="{$end_time}" class="layui-input" id="test2" placeholder="结束时间">
				</div>
				<div class="layui-inline">
					<button class="layui-btn">搜索</button>
				</div>
			</form>
		<hr>
			<table class="layui-table">
				<thead>
					<tr>
						<th>会员ID</th>
						<th>手机号</th>
						<th>昵称</th>
						<th>变化金额</th>
						<th>说明</th>
						<th>时间</th>
					</tr>
				</thead>
				<tbody>
					{foreach name="list" item="vo"}
					<tr>
						<td>{$vo.user_id}</td>
						<td>{$vo.mobile}</td>
						<td>{$vo.nick_name}</td>
						<td>{$vo.balance}</td>
						<td>{$vo.message}</td>
						<td>{$vo.add_time}</td>
					</tr>
					{/foreach}
				</tbody>
			</table>
			<!--分页-->
			{$list->render()}
		</div>
	</div>
</div>
<script>
	// 定义全局JS变量
	var GV = {
		current_controller: "{$controller}/gongyi"
	};
</script>
{/block}
